home *** CD-ROM | disk | FTP | other *** search
- @echo off
- cls
- echo SW Software Diagnostic Software
- echo (c) BBA Software 1996
- echo ++++++++++++++++++++++++++++++
-
- rem Display version
- echo
- echo ++++++++++++++++++++++++++++++
- echo This software will check your system
- echo configuration and produce a report to be
- echo transmitted, faxed or emailed to BBA Software.
- echo The report may be printed from the file DIAGS.TXT.
- echo
- pause
-
-
- echo
- echo Beginning Analysis
- echo
- echo . >> diags.txt
- del diags.txt
-
- echo *************************************** >> diags.txt
- echo * SW Software * >> diags.txt
- echo * (c) BBA Software 1996 * >> diags.txt
- echo * * >> diags.txt
- echo * Version 2.3 * >> diags.txt
- echo *************************************** >> diags.txt
- echo As at: >> diags.txt
- dir diags.txt >> diags.txt
-
- echo . >> space2.txt
- echo . >> space2.txt
- copy diags.txt+space2.txt diags.txt >nul
-
- echo DOS Version >> diags.txt
- echo ---------- >> diags.txt
- ver >> diags.txt
- copy diags.txt+space2.txt diags.txt >nul
-
-
- echo Autoexec.bat >> diags.txt
- echo ------------ >> diags.txt
- copy diags.txt+c:\autoexec.bat diags.txt >nul
- copy diags.txt+space2.txt diags.txt >nul
-
-
- echo Config.sys >> diags.txt
- echo ---------- >> diags.txt
- copy diags.txt+c:\config.sys diags.txt >nul
- copy diags.txt+space2.txt diags.txt >nul
-
-
- echo Memory Map >> diags.txt
- echo ---------- >> diags.txt
- mem/c >> diags.txt
- copy diags.txt+space2.txt diags.txt >nul
- mem/d >> diags.txt
- copy diags.txt+space2.txt diags.txt >nul
-
- echo System Variables >> diags.txt
- echo ---------------- >> diags.txt
- set >> diags.txt
- copy diags.txt+space2.txt diags.txt >nul
-
-
- echo Path Setting >> diags.txt
- echo ------------ >> diags.txt
- path >> diags.txt
- copy diags.txt+space2.txt diags.txt >nul
-
- echo SW Software Directory >> diags.txt
- echo --------------------- >> diags.txt
- dir /o-D >> diags.txt
-
- copy diags.txt+space2.txt diags.txt >nul
- echo **** E X T E N D E D D I A G N O S T I C S **** >> diags.txt
- copy diags.txt+space2.txt diags.txt >nul
- echo
- echo Hard Drive Status >> diags.txt
- echo ----------------- >> diags.txt
- echo Checking Hard Drive.....
- echo One Moment Please...
- chkdsk >> diags.txt
- copy diags.txt+space2.txt diags.txt >nul
-
-
- echo
- echo Hard Drive Check Complete.
- echo Continuing...
-
- rem echo Windows Configuration >> diags.txt
- rem echo --------------------- >> diags.txt
- rem dir \windows\win.ini >> diags.txt
- rem copy diags.txt+\windows\win.ini diags.txt >nul
- rem copy diags.txt+space2.txt diags.txt >nul
- rem dir \windows\system.ini >> diags.txt
- rem copy diags.txt+\windows\system.ini diags.txt >nul
- rem copy diags.txt+space2.txt diags.txt >nul
-
- copy diags.txt+space2.txt diags.txt >nul
- echo ======================================== >> diags.txt
- echo = End of Data = >> diags.txt
- echo ======================================== >> diags.txt
- del space2.txt
-
- echo
- echo
- echo Diagnostic Complete - Ready to Print
- echo Diagnostic information is in the file DIAGS.TXT
- echo Reply CTL/C if you do NOT have a printer attached..
- echo
- pause
-
- echo
- echo One moment please...
- copy diags.txt diags.prn
- echo >> filend.txt
-
- copy faxcover+diags.prn+filend.txt lpt1: > nul
- copy faxcover+diags.prn diags.txt > nul
- del diags.prn
- del filend.txt
-
- echo
- echo
- echo Diagnostic Complete.
- echo Please fax or email the printout as shown
-
- :noprt
- echo
- echo Diagnostic information is in file DIAGS.TXT
- echo
- echo Thank You...
- echo
- :endit
-